package com.gmu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 活动地点记录
 * </p>
 *
 * @author testjava
 * @since 2022-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TblActivitiesAddress对象", description="活动地点记录")
public class TblActivitiesAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "活动地点id")
    @TableId(value = "activities_address_id", type = IdType.AUTO)
    private Integer activitiesAddressId;

    @ApiModelProperty(value = "活动id")
    private Integer activitiesId;

    @ApiModelProperty(value = "采样地点id")
    private Integer sampleAddressId;

    @ApiModelProperty(value = "窗口号")
    private String addressNumber;

    @ApiModelProperty(value = "活动")
    @TableField(exist = false)
    private TblActivities tblActivities;

    @ApiModelProperty(value = "采样地点")
    @TableField(exist = false)
    private TblSampleAddress tblSampleAddress;


}
